package com.guigu.eduservice.mapper;

import com.guigu.eduservice.entity.Equipment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 设备表（存储卖家发布的二手机械信息） Mapper 接口
 * </p>
 *
 * @author Xiaosong
 * @since 2025-10-05
 */
public interface EquipmentMapper extends BaseMapper<Equipment> {
    //前四最新设备信息
     List<Equipment> selectNewEquipment();
    //根据equipmentId查询设备图片
    Equipment selectEquipmentImage(Long equipmentId);
}
